Implement lazy extended input initialization on Win32, by Robert Ögren.
authorTor Lillqvist <tml@novell.com>
Wed, 2 Feb 2005 18:11:17 +0000 (18:11 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 2 Feb 2005 18:11:17 +0000 (18:11 +0000)
commit8c323acbae55ce24674af03d59610113837a7801
tree57e75a4770b21cf78540e370aec3e56487b4800a
parentc922869cdf97ea713f5c3472200d593e4822b7ce
Implement lazy extended input initialization on Win32, by Robert Ögren.

2005-02-02  Tor Lillqvist  <tml@novell.com>

Implement lazy extended input initialization on Win32, by Robert
Ögren. Fixes #163163, possibly #162334. Lazy initialization would
be a good idea in any case even if it didn't fix any visible
problems, though.

The Wacom tablet driver seems to get confused if Wintab is
initialized but no window is shown before the process exits. This
is the case for some GIMP plug-ins, for instance.

* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
non-static (and renamed).
(_gdk_input_init): Don't call _gdk_input_wintab_init_check().

* gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().

* gdk/win32/gdkinput.c (gdk_devices_list,
gdk_display_list_devices, gdk_input_set_extension_events): Call
_gdk_input_wintab_init_check() here instead.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk/win32/gdkinput-win32.c
gdk/win32/gdkinput-win32.h
gdk/win32/gdkinput.c